<template>
  <el-dialog :visible.sync="visible" :title="title" :close-on-click-modal="false" v-dialogDrag class="tl-dialog" width="600px" @open="open" @close="close" :modal-append-to-body="false" :append-to-body="true">
    <el-form class="tl-form" ref="form" :model="model" :rules="rules" label-width="80px" :disabled="disableEditSubmit">
      <el-row>
        <el-col :span="24">
          <el-form-item label="文件名" prop="name" :rules="rules.validateRequire">
            <el-input v-model="model.name" />
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
    <div slot="footer" class="dialog-footer">
      <el-button :type="disableEditSubmit === false ? 'text' : 'primary'" @click="doCancelEdit">取消</el-button>
      <el-button type="primary" @click="doSubmitEdit" :loading="saveLoading" v-if="disableEditSubmit === false">确认</el-button>
    </div>
  </el-dialog>
</template>

<script>
/** mixins */
import { mixin_edit } from '@tapui/mixins/mixin_edit'
export default {
  components: {},
  mixins: [mixin_edit],
  data() {
    return {
      moduleTitle: '文件名',
      urlPrefix: process.env.MEET_APT + '/meet/fileManage/'
    }
  },
  methods: {}
}
</script>

<style scoped></style>
